Another 9 R books added to BigBookofR {https://t.co/JBy5FDH1eo} #rstats #DataScience
— R-bloggers (@Rbloggers) September 12, 2021
Video tutorial on the essentials of R for ecology cheatsheet {https://t.co/SM5RnYdXfY} #rstats #DataScience
— R-bloggers (@Rbloggers) September 10, 2021
Examination of the K-Means Broken-Line Method {https://t.co/GdF87RaeE4} #rstats #DataScience
— R-bloggers (@Rbloggers) September 12, 2021
The Four Pipes of magrittr {https://t.co/rvEPfZ9w6e} #rstats #DataScience
— R-bloggers (@Rbloggers) September 8, 2021
10 Tips And Tricks For Data Scientists Vol.11 {https://t.co/EwvZHtncrK} #rstats #DataScience
— R-bloggers (@Rbloggers) September 7, 2021
Bond Convexity in Excel and R {https://t.co/RGnU7h7p6r} #rstats #DataScience
— R-bloggers (@Rbloggers) September 12, 2021
{clockify} Time Tracking from R {https://t.co/wpEQatWyBC} #rstats #DataScience
— R-bloggers (@Rbloggers) September 9, 2021
A Guide to Binge Watching R / Medicine 2021 {https://t.co/V33GDMuCUV} #rstats #DataScience
— R-bloggers (@Rbloggers) September 10, 2021
My Excel and R Journey in Financial Services {https://t.co/l0ae1AO3fa} #rstats #DataScience
— R-bloggers (@Rbloggers) September 8, 2021
Geocomputation with R: Second Edition feedback {https://t.co/7PBwlFJGM3} #rstats #DataScience
— R-bloggers (@Rbloggers) September 6, 2021
An Integrated Method for Estimation and Optimisation {https://t.co/6bNdmviV38} #rstats #DataScience
— R-bloggers (@Rbloggers) September 7, 2021
{emayili} Rendering Plain Markdown {https://t.co/n61PKxbUV6} #rstats #DataScience
— R-bloggers (@Rbloggers) September 10, 2021
Meta Analysis in R {https://t.co/wkT5xAE4fz} #rstats #DataScience
— R-bloggers (@Rbloggers) August 15, 2021
Confidence and prediction intervals explained… (with a Shiny app!) {https://t.co/di0Ii6oAze} #rstats #DataScience
— R-bloggers (@Rbloggers) September 4, 2021
Basic R : Read so many CSV files {https://t.co/BLH2RqOLEs} #rstats #DataScience
— R-bloggers (@Rbloggers) September 2, 2021
Using R and Microsoft SQL Server to run prediction model with API call {https://t.co/3WlTJ5SW6F} #rstats #DataScience
— R-bloggers (@Rbloggers) August 20, 2021
Intro to evolutionary algorithms with R for beginners (from scratch) [PART 1] {https://t.co/J2jlk3Y9Lf} #rstats #DataScience
— R-bloggers (@Rbloggers) August 28, 2021
Predict housing prices in Austin TX with tidymodels and xgboost {https://t.co/PI2ztdwyJ1} #rstats #DataScience
— R-bloggers (@Rbloggers) August 16, 2021
Detecting time series outliers {https://t.co/UlicWcHA09} #rstats #DataScience
— R-bloggers (@Rbloggers) August 29, 2021
The best of both worlds: R meets Python via reticulate {https://t.co/HHhWpwLSGF} #rstats #DataScience
— R-bloggers (@Rbloggers) August 25, 2021
Text mining Star Trek dialogue and classifying characters using machine learning {https://t.co/QZ7bxDnFl6} #rstats #DataScience
— R-bloggers (@Rbloggers) August 18, 2021
10 Steps to Get Started in Sports Analytics {https://t.co/Z2xh6DqT9Y} #rstats #DataScience
— R-bloggers (@Rbloggers) August 20, 2021
Using Shiny in Healthcare: Examples from the 2021 Shiny Contest {https://t.co/G2KwmUzcDM} #rstats #DataScience
— R-bloggers (@Rbloggers) August 17, 2021
Another 9 R books added to BigBookofR {https://t.co/JBy5FDH1eo} #rstats #DataScience
— R-bloggers (@Rbloggers) September 12, 2021
---
title: "RBloggers Top Tweets"
output:
flexdashboard::flex_dashboard:
vertical_layout: scroll
source_code: embed
theme:
version: 4
bootswatch: yeti
css: styles/main.css
---
```{r setup, include=FALSE}
library(flexdashboard)
library(dplyr)
library(httr)
library(lubridate)
library(jsonlite)
library(purrr)
rbloggers <- fromJSON("data/rbloggers.json")
get_tweet_embed <- function(user, status_id) {
url <-
stringr::str_glue(
"https://publish.twitter.com/oembed?url=https://twitter.com/{user}/status/{status_id}&partner=&hide_thread=false"
)
response <- GET(url) %>%
content()
return(shiny::HTML(response$html))
}
```
Column {.tabset .tabset-fade}
-----------------------------------------------------------------------
### Top Tweets - 7 days {.tweet-wall}
```{r}
rblog_7 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 7, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_7_html <-
map2_chr(rblog_7$screen_name, rblog_7$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_7_html}"))
```
### Top Tweets - 30 days {.tweet-wall}
```{r}
rblog_30 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 30, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_30_html <-
map2_chr(rblog_30$screen_name, rblog_30$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_30_html}"))
```